package com.mos.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016-03-27.
 */
@Controller
@RequestMapping("/index")
public class IndexAction {

    private static final String prefix = "/index";

    @RequestMapping("/index")
    public String index(Model model){
        return prefix + "/index";
    }

    @RequestMapping("/top")
    public String top(){
        return prefix + "/top";
    }

    @RequestMapping("/center")
    public String center(){
        return prefix + "/center";
    }

    @RequestMapping("/left")
    public String left(){
        return prefix + "/left";
    }
}
